package studay.command;

/**
 * @program: 设计模式
 * @description:
 * @author: Tom
 * @create: 2022-01-08 17:48
 **/
public class ConditionReceiver {
    public void on(){
        System.out.println("空调开启了");
    }
    public void off(){
        System.out.println("空调关闭了");
    }
    public void cool(){
        System.out.println("空调开始制冷");
    }
    public void warm(){
        System.out.println("空调开始制暖");
    }
}
